IfSo\Services\LicenseService\LicenseService C

Total Complexity 104
Dependencies 2
Dependents 6
Total lines 515
Lines of code 384
Logical lines of code 237
Comment lines 90
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
edd_ifso_is_license_valid()
B
39 17 66
edd_api_get_error_message()
A
44 15 44
edd_ifso_activate_license()
A
44 11 39
edd_ifso_deactivate_license()
A
46 8 37
edd_ifso_clear_license()
A
52 8 23
edd_api_deactivate_item()
S
56 7 19
try_to_activate_license()
S
56 6 19
check_license_request()
S
56 6 19
query_ifso_api()
S
52 5 25
is_item_id_invalid_or_mismatch()
S
69 4 6
send_check_license_request()
S
60 2 13
init_plans()
S
55 1 24
get_instance()
S
73 2 5
is_license_valid()
S
74 2 4
edd_ifso_if_license_valid_from_license_data()
S
70 2 7
edd_ifso_is_license_inactive()
S
70 2 7
__construct()
S
70 1 6
handle_invalid_license()
S
66 1 9
activate_license()
S
79 1 3
deactivate_license_request()
S
79 1 3
edd_api_activate_item()
S
79 1 3
get_license()
S
80 1 3